.class Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;
.super Landroid/widget/ListView;
.source "AndroidListUI.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lorg/microemu/android/device/ui/AndroidListUI;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "AndroidListView"
.end annotation


# instance fields
.field final synthetic this$0:Lorg/microemu/android/device/ui/AndroidListUI;


# direct methods
.method public constructor <init>(Lorg/microemu/android/device/ui/AndroidListUI;Landroid/content/Context;)V
    .locals 0
    .parameter
    .parameter "context"

    .prologue
    .line 126
    iput-object p1, p0, Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;->this$0:Lorg/microemu/android/device/ui/AndroidListUI;

    .line 127
    invoke-direct {p0, p2}, Landroid/widget/ListView;-><init>(Landroid/content/Context;)V

    .line 128
    return-void
.end method


# virtual methods
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 132
    const/16 v0, 0x17

    if-ne p1, v0, :cond_1

    .line 133
    iget-object v0, p0, Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;->this$0:Lorg/microemu/android/device/ui/AndroidListUI;

    invoke-virtual {v0}, Lorg/microemu/android/device/ui/AndroidListUI;->getCommandListener()Ljavax/microedition/lcdui/CommandListener;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 134
    iget-object v0, p0, Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;->this$0:Lorg/microemu/android/device/ui/AndroidListUI;

    invoke-virtual {v0}, Lorg/microemu/android/device/ui/AndroidListUI;->getCommandListener()Ljavax/microedition/lcdui/CommandListener;

    move-result-object v0

    iget-object v1, p0, Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;->this$0:Lorg/microemu/android/device/ui/AndroidListUI;

    invoke-static {v1}, Lorg/microemu/android/device/ui/AndroidListUI;->access$300(Lorg/microemu/android/device/ui/AndroidListUI;)Ljavax/microedition/lcdui/Command;

    move-result-object v1

    iget-object v2, p0, Lorg/microemu/android/device/ui/AndroidListUI$AndroidListView;->this$0:Lorg/microemu/android/device/ui/AndroidListUI;

    iget-object v2, v2, Lorg/microemu/android/device/ui/AndroidListUI;->displayable:Ljavax/microedition/lcdui/Displayable;

    invoke-interface {v0, v1, v2}, Ljavax/microedition/lcdui/CommandListener;->commandAction(Ljavax/microedition/lcdui/Command;Ljavax/microedition/lcdui/Displayable;)V

    .line 135
    const/4 v0, 0x1

    .line 140
    :goto_0
    return v0

    .line 137
    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    .line 140
    :cond_1
    invoke-super {p0, p1, p2}, Landroid/widget/ListView;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "ev"

    .prologue
    .line 147
    invoke-super {p0, p1}, Landroid/widget/ListView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method
